/**

 @Name：layuiAdmin 用户登入和注册等
 @Author：贤心
 @Site：http://www.layui.com/admin/
 @License: LPPL
 */
layui.define('form', function(exports){
  var $ = layui.$
  ,layer = layui.layer
  ,laytpl = layui.laytpl
  ,setter = layui.setter
  ,view = layui.view
  ,admin = layui.admin
  ,form = layui.form;

  //发送短信验证码
  admin.sendAuthCode({
      elem: '#LAY-user-getsmscode',//获取验证码按钮
      elemPhone: '#LAY-user-login-cellphone',//手机号
      elemVercode: '#LAY-user-login-vercode',//图形验证码
      ajax: {
         url: "sendcode",
      }
  });
  //对外暴露的接口
  exports('user', {});
});